package com.chandra.pos.customer.service;

import com.chandra.pos.customer.dao.entity.CustomerOrderEntity;
import com.chandra.pos.customer.dao.entity.CustomerPaymentEntity;
import com.chandra.pos.customer.dao.entity.TransactionEntity;
import com.chandra.pos.customer.model.*;
import org.springframework.data.domain.Page;

import javax.persistence.EntityExistsException;

/**
 * Created by Admin on 3/16/15.
 */
public interface CustomerRole {

    public CustomerModel saveCustomer(CustomerModel customerModel) throws EntityExistsException;

    public CustomerList search(CustomerFilter name);

    public CustomerModel getCustomerDetails(CustomerFilter customerFilter);


}
